package com.liang.resultMap.mapper;

import com.liang.resultMap.pojo.Teacher;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface TeacherMapper {
    @Select("select * from club.teacher where id=#{id}")
    Teacher getTeacherById(@Param("id") Integer id);
}
